home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / lmatch13.zip / LMATCH.DOC < prev    next >
Text File  |  1992-06-19  |  23KB  |  513 lines

  1.  
  2.                               LETTER  MATCH    
  3.  
  4.                                   v1.3
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                             (404) 256-9525
  12.  
  13.  
  14.  
  15.  
  16.                                 OVERVIEW
  17.                                 ________
  18.  
  19.  
  20. LETTER MATCH is an easy to play and very challenging word game, designed
  21. to test your memory, category knowledge and spelling.
  22.  
  23. The object of the game is to match as many words as possible, each time 
  24. trying to beat the score you have posted in the high score file, as well
  25. other players scores.
  26.  
  27. The Sysop determines the category subject and the program will display it
  28. at the top of the box that contains the current word you are working with.
  29.  
  30. You must think of a word, in line with the current category, whose first 
  31. letter matches the last letter of the word in the box OR whose last letter
  32. matches the first letter of the word in the box.
  33.  
  34. For Example: Given the category "STATES and CAPITALS" and an initial word 
  35.              of "OREGON", you could use "OHIO" to match the first letter 
  36.              in "OREGON" or you could use "NEW YORK" to match the last 
  37.              letter in "OREGON".
  38.  
  39.  
  40.    NOTE: Most errors will be logged to a file called DFRAME.ERR which is
  41.          created in the directory you run the door from.
  42.  
  43.  
  44.  
  45.                               INSTALLATION
  46.                               ____________
  47.  
  48.  
  49.    Installation is fairly easy and straight-forward. The following steps and
  50.    examples should have you up and running in a very short period of time.
  51.    It is assumed that you are familiar with setting up DOORS on your system.
  52.    To this end, only examples of the configuration file and Door batch file
  53.    are described.
  54.  
  55.       1) Create a directory to hold all LMATCH files
  56.  
  57.       2) Unzip LMATCHxx.ZIP into the the above directory
  58.  
  59.          NOTE: BRUN45.EXE is not included but is required !!!
  60.  
  61.       3) Create a configuration file, with a name of your choice, or
  62.          modify the supplied LMATCH.CFG file. A description follows:
  63.  
  64.             **                       Location of system file (See Below)
  65.             SUNRISE-80 BBS           Your BBS Name
  66.             Al                       Sysop's First nameAP
  67.  
  68.             Lawrence                 Sysop's Last Name
  69.  
  70. |-----------------------------------------------------------------------------|
  71. | READ!     1                        CommPort  \ These 2 lines are required   |
  72. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  73. |-----------------------------------------------------------------------------|
  74.  
  75.             00000000                 Registration Number
  76.  
  77.     !   #   2                        Maximum # of Games per day
  78.                                      (Sysop gets 99, Registered version ONLY)
  79.  
  80.         #   0                        Max # of days a caller can make up, during
  81.                                      calls in one day. 0=Disable Make-up Option
  82.                                      Maximum value = 27, Minimum value = 1
  83.  
  84.         #   NONE                     Drive:\Path\Filename to contain the
  85.                                      Top Score Bulletin or enter NONE
  86.                                      for NO Bulletin creation.
  87.  
  88.         #   NONE                     Drive:\Path\Filename to contain the
  89.                                      Top Score Bulletin (Color) or enter NONE
  90.                                      for NO Bulletin creation.
  91.  
  92.         #   NONE                     Drive:\Path\Filename to contain the
  93.                                      Hall of Fame Bulletin or enter NONE
  94.                                      for NO Bulletin creation.
  95.  
  96.         #   NONE                     Drive:\Path\Filename to contain the
  97.                                      Hall of Fame Bulletin (Color) or enter NONE
  98.                                      for NO Bulletin creation.
  99.  
  100.             2                        1 = DO NOT Display ADOPT-A-DOOR Message
  101.                                      2 = Display ADOPT-A-DOOR message
  102.  
  103.         #   2                        Keyboard timeout value in Minutes
  104.  
  105.     !   #   0                        Time allowed in Door
  106.                                      (Sysop = Time Remaining - REG. VERSION)
  107.  
  108.             c:\bbs\door\lmatch.cat   Drive:\Path\Filename of the Category file
  109.  
  110.         #   N                        Y = Play a Solitaire Game
  111.                                      N = Computer plays 
  112.  
  113.         #   1                        Scoring: Points earned per match 
  114.  
  115.         #   N                        Automatic game reset at end of month:
  116.                                        Y = Yes enable autoreset
  117.                                        N = Keep accumulating scores
  118.  
  119.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  120.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  121.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  122.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  123.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  124.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  125.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  126.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  127.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  128.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  129.     @   #   XXXX/YYYY                 Blackout Range  From/To
  130.     @   #   XXXX/YYYY                 Blackout Range  From/To
  131.     @   #   XXXX/YYYY                 Blackout Range  From/To
  132.     @   #   XXXX/YYYY                 Blackout Range  From/To
  133.     @   #   XXXX/YYYY                 Blackout Range  From/To
  134.  
  135.  
  136.      
  137.               ** = Replace with ONE of the following:
  138.  
  139. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  140. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  141. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  142.                                    (Note:DOOR.SYS must be in SAME directory)
  143. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  144. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  145. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  146. C:\BBS\CHAIN.TXT                <- For WWIV systems 
  147. C:\BBS\GTUSER.BBS               <- For GT Power 
  148.                                    * if using this option you must put the
  149.                                      ComPort # on line 5 and the Node # on
  150.                                      line 6 of the configuration file
  151.  
  152.  
  153.  
  154.            # = Requires registration to change to a different value.
  155.            ! = See "Plays Per Day" Below
  156.            @ = See "Blackout Periods" Below
  157.  
  158.                NOTE: There are NO Blank Lines in the Config File!!
  159.  
  160.  
  161.  
  162.  
  163.       4) Create a batch file or modify the LMATCH file supplied. A
  164.          description of this file follows:
  165.  
  166.             ECHO off
  167.             cd\BBS\DOORS\LMATCH       Location of LMATCH files
  168.             LMATCH LMATCH.CFG         EXE filename and CFG filename (Name
  169.                                       used in creating file in #3 above)
  170.             CD\BBS
  171.             BOARD
  172.  
  173.  
  174.        5) When running in more than one node, be sure to supply a
  175.           different configuration name for each node (your choice of name).
  176.  
  177.  
  178.  
  179.                          CATEGORY FILES
  180.                          --------------
  181.  
  182. In the unregistered version of Letter Match, you MUST use the category I have
  183. supplied, STATES and CAPITALS, in the file called LMATCH.CAT. 
  184.  
  185. After registration you are free to use the extra category file I have 
  186. included in the LMATCHxx.ZIP (XTRA1.CAT) or you may modify the extra file or
  187. you may create your own. If you will be creating your own or modifying the 
  188. extra ones, you must ensure that you follow this format:
  189.  
  190. Line 1: CAT:xxxxxxxxx
  191.       
  192.       CAT:    must be left as you see it
  193.       xxxxxxx is the category title that will appear in the box used to display
  194.               the individual category entries. The maximum length = 40 char.
  195.  
  196. Line 2: Category Entry        
  197.         
  198.         All category entries can have a maximum length of 40 characters.
  199.         You may have up to 500 entries in each category file.
  200.  
  201. The types of categories are only limited by your imagination. I would suggest 
  202. that you place a substantial number of entries in each category file and at a 
  203. minimum be sure you include all the possible answers for that category (or as
  204. many as you can find). I can assure you your users will come up with ones you 
  205. have missed <GRIN>. With that in mind, I will apologize now for any mistakes
  206. or ommissions in the extra category files I have supplied <g>..
  207.   
  208.          
  209.                MAKE-UP DAYS (Registered version only)
  210.                --------------------------------------
  211.  
  212. The Make-Up-Day feature allows the caller to make up any plays he/she missed 
  213. during the current month and prior to the current call. You control whether 
  214. to allow this option, as well as the number of days the caller can make up, on
  215. any prticular days worth of calls. Entering a 0 (zero) for this option, in the
  216. configuration file, turns the option OFF, any other value (up to a max of 27)
  217. turns the option ON and dictates the number of days the caller can make up.
  218.  
  219.  
  220. NOTE:      The number of games per day is calculated as follows...
  221.  
  222.            Games Allowed per day x Number of makeup days.
  223.  
  224. Example:   Games Allowed per day = 2
  225.            Max # of makeup days  = 4
  226.  
  227. If a caller logs in on 5/8/92 and this is their first call of the month, they
  228. would have a potential of 16 games to makeup and bring them current 
  229. (8 days (5/8/92) * 2 (games per day)). However, since the maximum # of Makeup
  230. Days is set at 4, the maximum # of games the caller can play on 5/8/92, is 8 
  231. (games allowed * max # of makeup days).
  232.  
  233.  
  234.  
  235.              HALL OF FAME BULLETINS (Registered version only)
  236.              ------------------------------------------------
  237.  
  238. The program will automatically reset the game when the first caller of the
  239. month plays the game. The score file will be cleared and a set of Hall of Fame
  240. bulletin files will be created. The files will be called SUNHOF.ASC and 
  241. SUNHOF.ANS (ASCII and ANSI versions). The files will be placed in the same 
  242. directory as the BETSY.EXE file. You are responsible for COPYING the files to 
  243. your bulletin area and renaming to a filename of your choice.
  244.  
  245. WARNING: The HOF files are cumulative files. That means they are read in each 
  246.          month and updated. DO NOT DELETE EITHER FILE!!!! or you will lose
  247.          the record of prior months winners!!!!
  248.   
  249.  
  250.  
  251.                           BLACKOUT PERIODS
  252.                           ________________
  253.  
  254.       Use the Blackout ranges option to define up to 5 time periods during
  255.       which you DO NOT want the Door to be played. If a caller tries to access 
  256.       the Door during the Blackout period, they will be shown a message that
  257.       contains ALL the Blackout periods you have defined, and to try the Door
  258.       at a later time.
  259.  
  260.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  261.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  262.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  263.  
  264.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  265.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  266.                    a Blackout range.
  267.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  268.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  269.  
  270.  
  271.  
  272.                           PLAYS Per DAY/DOOR Time
  273.                           _______________________
  274.  
  275.       Plays Per Day and Door Time can be controlled several ways:
  276.  
  277.       (1) You can use the Games Per Day, singular option, in the config
  278.           file above. This option, will affect ALL callers whose Security
  279.           Level is NOT defined in any of the 10 optional Security Level/
  280.           Plays Per Day entries in the config file.
  281.  
  282.       (2) You can use the Door Time, singular option, in the config file
  283.           above. This option, will affect ALL callers whose Security
  284.           Level is NOT defined in any of the 10 optional Security Level/
  285.           Plays Per Day/Door Time entries in the config file.
  286.  
  287.       (3) You can restrict the number of games a specific Security Level
  288.           will be allowed to play per day or REWARD specific Levels with 
  289.           more Plays Per Day. 
  290.  
  291.           Likewise, you can restrict the Play time for a specific Security
  292.           Level or REWARD specific Levels with more Door Time.
  293.  
  294.           These options are handled by the use of the 10 config 
  295.           entries (000=00/00). 
  296.           
  297.           The format of each entry is as follows:
  298.  
  299.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  300.                      where =  is a constant and MUST be included
  301.                      where YY is the # of games per day (must be 2 digits)
  302.                      where / is a constant and MUST be included
  303.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  304.           
  305.           If the callers Security Level is NOT defined, his/her Plays Per
  306.           Day and Door Time will be controlled by the values in items
  307.           (1) and (2), above, respectively..
  308.  
  309.           You may define up to 10 Security Levels. All unused entries must
  310.           be defined as   000=00/00
  311.         --------------------------------------------------------------------
  312.           Example: Suppose you had 3 Security Levels defined on your BBS as
  313.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you 
  314.           wanted to set Plays Per Day as :     Subscriber=5
  315.                                            Visiting Sysop=2
  316.                                                   CoSysop=3
  317.                                                    Friend=10 
  318.           
  319.           and Door Time as follows:     Subscriber=30 minutes
  320.                                     Visiting Sysop=20 minutes
  321.                                            CoSysop=10 minutes 
  322.                                             Friend=remaining call time
  323.                                
  324.  
  325.           You would set the Individual "Games per Day" config entry to 1 and 
  326.           the individual "Door Time" to 5 minutes (these would be the 
  327.           default number of games and default Time for all Security Levels
  328.           other than 20,30 or 40... make them any number you want). Next you
  329.           would replace 4 of the Security Level entries as :  020=05/30                                               
  330.                                                               030=02/20
  331.                                                               040=03/10
  332.                                                               090=10/0
  333.  
  334.  
  335.                         NON-STANDARD COM SUPPORT
  336.                         ________________________
  337.  
  338.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  339.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  340.       number after the configuration filename. Let's assume your Door is
  341.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  342.       passed to your Door would be:
  343.  
  344.                             FOOBAR FOOBAR.CFG /5
  345.  
  346.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  347.       normally used with COM1. No /x parameter is needed for the standard
  348.       IRQ's.
  349.  
  350.       As an alternative, you may use an environmental variable on the command
  351.       line. To use the variable (following the example above), place a 
  352.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a 
  353.       different IRQ number for each node). The command line would now look 
  354.       like this: 
  355.  
  356.                           FOOBAR FOOBAR.CFG /%IRQ%
  357.       
  358.       This, in combination with the use of the environmental variables 
  359.       described in the MULTI-NODE SETUP section will allow you to use one 
  360.       batch file and one config file to run this door on all nodes.
  361.  
  362.  
  363.  
  364.  
  365.                            MULTI-NODE SETUP
  366.                            ________________
  367.  
  368.       All Sunrise Doors are Multi-Node capable. Each node must have the 
  369.       ability to access a configuration file which will have its own system 
  370.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first 
  371.       line. There are 2 ways to accomplish this:
  372.  
  373.       (1) Create a separate configuration file for each node. The only 
  374.           difference between each file would be the location of the system 
  375.           file for that particular node. For example, on my system there are 2
  376.           nodes and the first line of the config files would look like this:
  377.  
  378.                         NODE1:  H:\PCB1\DOOR.SYS
  379.                         NODE2:  H:\PCB2\DOOR.SYS
  380.  
  381.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  382.  
  383.       (2) Use ONE configuration file for ALL nodes. This Door will recognize 
  384.           the following PCBoard environmental variables:
  385.  
  386.                  PCBDIR    (Directory containing the System file)
  387.                  PCBDRIVE  (Drive containing the System file)
  388.  
  389.           Thus, the first line of the SINGLE configuration file, for this Door
  390.           would look like this:
  391.  
  392.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  393.  
  394.       NOTE: This option, as described, assumes that you are running PCBoard 
  395.             14.5a software. The environmental variables are automatically 
  396.             created by the software for each node.
  397.  
  398.             HOWEVER, if you are running other BBS software you should be able
  399.             to set the variables EXACTLY as described below, for EACH node 
  400.             (more than likely in each batch file you use to bring up EACH node):
  401.  
  402.                             PCBDRIVE=C:
  403.                             ^^^^^^^^^
  404.                             PCBDIR=\NODE2
  405.                             ^^^^^^^^
  406.             
  407.             Info with a carat (^) under it, MUST be typed as is. The rest 
  408.             depends on your naming conventions. 
  409.  
  410.             This, in combination with the use of the optional environmental
  411.             variable described in the NON-STANDARD COM SUPPORT section, will
  412.             allow you to use one batch file and one config file to run this 
  413.             door on all nodes.
  414.  
  415.  
  416.  
  417.                                ADOPT-A-DOOR
  418.                                ____________
  419.  
  420.     Having been a Sysop for a number of years, I have had my share of problems
  421.     and frustrations getting financial support for my board's upkeep. A fellow
  422.     Sysop left a message on my board, not long ago, about a concept that was
  423.     being used by several boards around the country.
  424.  
  425.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  426.     would be the same as sending in a donation, only this way it is earmarked
  427.     for registering a particular door. In a way, the user feels he/she is
  428.     "getting something in return". As a Door author I have decided to build
  429.     this concept into each of my Door programs. The concept replaces the
  430.     usual message "tell the Sysop to register this Door" we find in most
  431.     doors.
  432.  
  433.     If the Door is unregisterd then a message appears on the opening screen
  434.     to that effect. After finishing or suspending a game, a message screen
  435.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  436.     caller to contact the Sysop to find out if there is any further details
  437.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  438.     time, etc to callers that ADOPT-A-DOOR.
  439.  
  440.     If the Door has been registered, either by the Sysop or other callers,
  441.     the names of those contributors will be displayed in the closing screen.
  442.  
  443.     NOTE: If you want to display the names of the callers that contributed
  444.           to registering the Door, you must create an ASCII file called
  445.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  446.           the name(s) of the contributors (one on each line, maximum of 5
  447.           entries, each a maximum of 30 characters long). This file must be
  448.           saved, in ASCII format, and placed in the Door directory.
  449.  
  450.  
  451.  
  452.                               LEGALITIES
  453.                               __________
  454.  
  455.  
  456.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  457.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  458.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  459.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  460.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  461.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  462.       OR BREACH OF ANY WARRANTY.
  463.  
  464.  
  465.  
  466.  
  467.  
  468.                              DISTRIBUTION
  469.                              ____________
  470.  
  471.    You may make this file available for downloading from your BBS or you may
  472.    upload it to any BBS of your choice, provided that you do not make any
  473.    changes to the contents of the archive (ZIP file). The archive and its
  474.    individual contents may not be used by any service that charges any money
  475.    whatsoever, without the written permission of the author.
  476.  
  477.  
  478.  
  479.  
  480.  
  481.                              REGISTRATION
  482.                              ____________
  483.  
  484.    Registration and the subsequent insertion of the registration number into
  485.    your configuation file, allows for the display of your BBS name on the
  486.    opening and closing screen as well as the reduction of a delay built into
  487.    the opening screen display along with the ability to change certain
  488.    values in the configuration file.
  489.  
  490.    To register your copy of LMATCH please fill out the registration form
  491.    (REGISTER.FRM) and mail it along with a small donation ($20,25,etc) to
  492.    the name and address on the form.
  493.  
  494.    Be sure to use the proper upper/lower case when filling in your name and
  495.    BBS name, as they MUST match the way you entered them in the configuration
  496.    file.             ^^^^
  497.  
  498.    Based upon information supplied on the registration form, I will pre-
  499.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  500.    up your registration number.
  501.  
  502.  
  503.  
  504.                                  MISC
  505.                                  ____
  506.  
  507.    The latest version of Letter Match and other fine SUNRISE DOOR programs
  508.    are always available for download from SUNRISE-80 BBS.
  509.  
  510.    Remember, should you have any problems, questions or suggestions, be sure
  511.    to drop me a message on Sunrise-80 or in the RIME network (BBS_Doors, 
  512.    PCBHints, SYSops) or on SMARTNET (SN_Sysops) or FIDO 1:133/410.
  513.